POV-Ray : Newsgroups : povray.newusers : Simple outdoor landscapes for fast-rendering : Re: Simple outdoor landscapes for fast-rendering Server Time
2 Nov 2024 15:26:29 EDT (-0400)
  Re: Simple outdoor landscapes for fast-rendering  
From: Greg M  Johnson
Date: 28 Jan 2004 22:12:51
Message: <40187a33$1@news.povray.org>
Here's a modification of Daniel's code.  Why is there a distortion in x but
not z??


#include "colors.inc"

#include "functions.inc"

camera
{
 location <0, 2, -10>
 rotate 90*y
}



light_source
{
 <-100, 100, -100>
 color White
}


#declare f_hills =
function
{
 pattern
 {
  bumps

  scale <0.1, 0.1, 0.1>
 }
}

#declare blah=10;
#declare f_hills2=function{f_noise_generator(x,y,z,2)}


height_field
{
 // Incease your resolution here if you need to.
 function 256, 256 { f_hills2(x*blah, y, z*blah) }
 smooth

 pigment
 {
  color rgb <1, 1, 0.8>
 }

 translate <-0.5, 0, -0.5>
 scale <10, 0.5, 10>
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.